﻿<div id="ContentEditorNavi" style=""></div>


<div id="CMS_logout">
	<div style="float:left;width:5px;"><img src="img/toptab-left.gif" border="0" /></div>
	<div style="float:left;width:125;text-align:center">&nbsp;
		<a class="top" href="javascript:void(0);" onclick="{literal}xajax.request({ccdsfun:'UserOpen',ccdsclass:'ccdsUser'});{/literal}">{$smarty.config.Global_my_account}</a> | 
		<a class="top" href="javascript:void(0);" onclick="CMS.LogoutConfirm();">{$smarty.config.Global_logout}</a>&nbsp;&nbsp;
	</div>
	<div style="float:right;width:5px;"><img src="img/toptab-right.gif" border="0" /></div>
	<br style="clear:both;" />
</div>


<div style="height: 65px;background: url('{$CMS_WEB_DIR}img/head-bg.gif') repeat-x;position:absolute;top:0px;left:0px;width:100%;z-index:100;">
	<div style="width: 980px;">
		<div style="float:left; width: 300px;text-align: center;">
				<img src="{$CMS_WEB_DIR}img/ccds-logo.gif" alt="CCDS" border="0" /><br />
		</div>
		<div style="float:left; width: 680px;">
		</div>
	</div>
	<div style="position:absolute;right:0px;top:0px;height:60px;width:60px;"><img src="img/bug.gif" border="0" /></div>
</div>

<div id="navi" style="">
	<div style="height:22px;background: url({$CMS_WEB_DIR}img/headbar-bg.gif) repeat-x;">
		<div style="float: left; margin-left: 4px; margin-right: 4px;margin-top:4px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/world.png" border="0" alt="" /></div>
		<div style="float: left; margin-right:2px; margin-top:6px;color:#fff">
			{*$smarty.config.headbar_pagestructure*}
			<a href="javascript:void(0);" class="top" onclick="{literal}xajax.request({ccdsfun:'initNavi',ccdsclass:'ccdsDefaultPlugin'},{parameters:[]});{/literal}">{$smarty.config.headbar_pagestructure_reload}</a>
		</div>
		<br style="clear: both;" />
	</div>
	<div id="navicontainer" style="">
		
		<div id="divprojects"></div>
		<br style="clear:both;" />
		<br /><br />
		{if ($smarty.session.CMS.user_level >= 1000) OR ($smarty.session.CMS.user_flags.general_filemanager)}
			<div style="border-bottom: 1px dotted #ccc; margin-bottom: 4px; margin-left: 15px;">
				<div style="float: left;text-align: center;">
					<a href="javascript:void(0);" style="margin-right: 8px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/folder.png" alt="" border="0" /></a>
				</div>
				<div style="float: left;">
					<a href="javascript:void(0);" onclick="{strip}{literal}
CMS.FileManager.open(
{{/literal}
	root:'media',project_id:'',
	returnfield: {literal}{}});
{/literal}{/strip}" class="tabnavi">{$smarty.config.NaviPanel_filemanager}</a>

<br />
<a href="javascript:void(0);" onclick="{strip}{literal}

xajax.request({ccdsfun:'killSession',ccdsclass:'ccdsDefaultPlugin'},{parameters:[]});

{/literal}{/strip}" class="tabnavi">Session Kill</a>
				
				
				</div>
				<br style="clear:both;" />
			</div>	
		{/if}
	</div>
	
	{if ($smarty.session.CMS.user_level >= 1000) 
	OR ($smarty.session.CMS.user_flags.admin_user)
	OR ($smarty.session.CMS.user_flags.admin_cache_pictures)
	OR ($smarty.session.CMS.user_flags.admin_cache_pages)
	OR ($smarty.session.CMS.user_flags.project_new)
	}
	
	<div style="height:22px;background: url({$CMS_WEB_DIR}img/headbar-bg.gif) repeat-x;">
		<div style="float: left; margin-left: 2px; margin-right: 4px;margin-top:4px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/wrench.png" border="0" alt="" /></div>
		<div style="float: left; margin-right:2px; margin-top:6px;color:#fff">
			{$smarty.config.headbar_administration}
		</div>
		<br style="clear: both;" />
	</div>
	<br />
	<div id="navicontainer">
		{if ($smarty.session.CMS.user_level >= 1000) OR ($smarty.session.CMS.user_flags.admin_user)}
			<div style="border-bottom: 1px dotted #ccc; margin-bottom: 4px; margin-left: 15px;">
				<div style="float: left;text-align: center;">
					<a href="javascript:void(0);" style="margin-right: 8px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/group.png" alt="" border="0" /></a>
				</div>
				<div style="float: left;">
					<a href="javascript:void(0);" onclick="{literal}xajax.request({xjxfun:'UserAdministrationOpen'},{parameters:[{}]});{/literal}" class="tabnavi">{$smarty.config.AdminNaviPanel_user}</a>
				</div>
				<br style="clear:both;" />
			</div>	
		{/if}
		{if ($smarty.session.CMS.user_level >= 1000) OR ($smarty.session.CMS.user_flags.project_new)}
			<div style="border-bottom: 1px dotted #ccc; margin-bottom: 4px; margin-left: 15px;">
				<div style="float: left;text-align: center;">
					<a href="javascript:void(0);" style="margin-right: 8px;"><img src="{$CMS_WEB_DIR}{$CMS_LIBRARY_WEB}famfamfam/icons/folder_add.png" alt="" border="0" /></a>
				</div>
				<div style="float: left;">
					<a href="javascript:void(0);" onclick="{literal}xajax.request({ccdsfun:'ProjectNew',ccdsclass:'ccdsProject'},{parameters:[{}]});{/literal}" class="navi">{$smarty.config.Global_new_project}</a>
				</div>
				<br style="clear:both;" />
			</div>	
		{/if}
	</div>
	{/if}
</div>
<div id="CMS_border"><img src="{$CMS_WEB_DIR}img/v-border-top.gif" border="0" /></div>
<div id="ContentArea">&nbsp;</div>
<div id="CMS_border2"><img src="{$CMS_WEB_DIR}img/v-border-top.gif" border="0" /></div>

{include file="`$CMS_TPL_DIR`filemanager/templates.tpl" }
